package com.leyou.dao;

import com.leyou.domain.db1entity.*;

import java.util.List;

import com.leyou.domain.vo.TurnTableActivityVO;
import org.apache.ibatis.annotations.Param;

public interface TurnTableActivityMapper {
    long countByExample(TurnTableActivityExample example);

    int deleteByExample(TurnTableActivityExample example);

    int deleteByPrimaryKey(String activitykey);

    int insert(TurnTableActivity record);

    int insertSelective(TurnTableActivity record);

    List<TurnTableActivity> selectByExample(TurnTableActivityExample example);

    TurnTableActivity selectByPrimaryKey(String activitykey);

    int updateByExampleSelective(@Param("record") TurnTableActivity record, @Param("example") TurnTableActivityExample example);

    int updateByExample(@Param("record") TurnTableActivity record, @Param("example") TurnTableActivityExample example);

    int updateByPrimaryKeySelective(TurnTableActivity record);

    int updateByPrimaryKey(TurnTableActivity record);

    int insertConditionAndGoods(@Param("list") List<ConditionAndGoods> conditionAndGoodsList);

    int insertLog(Log log);

    int insertTableCellList(@Param("list") List<TableCell> tableCellList);

    List<TurnTableActivityVO> getTurnTableActivityList(@Param("begin") int begin, @Param("pageSize") int pageSize);

    Integer checkPrizeOrder(TableCell tableCell);

    int insertCouponAndActivity(Couponandactivity couponandactivity);

}
